package com.emdata.competition.common.page;

import lombok.Data;

import java.util.List;


@Data
public class MyPage<T> {

    private int pageNum;

    private int pageSize;

    private long total;

    private long totalPages;

    private List<T> dataRespList;

    public MyPage(int pageNum, int pageSize, long total, List<T> dataRespList) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.total = total;
        this.dataRespList = dataRespList;
    }

}
